From: Richard Hughes Date: Mon, 4 Jul 2011 11:09:06 +0000 (+0100) Subject: power: Use the new gnome-settings-daemon DBus names now the power plugin has moved... X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8114 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c5676900046266a1cdac5216b2bedd6d2b98795e;p=gnome-shell.git power: Use the new gnome-settings-daemon DBus names now the power plugin has moved there --- diff --git a/js/ui/status/power.js b/js/ui/status/power.js index 196170262..fe757ec36 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -12,8 +12,8 @@ const PanelMenu = imports.ui.panelMenu; const PopupMenu = imports.ui.popupMenu; const Util = imports.misc.util; -const BUS_NAME = 'org.gnome.PowerManager'; -const OBJECT_PATH = '/org/gnome/PowerManager'; +const BUS_NAME = 'org.gnome.SettingsDaemon'; +const OBJECT_PATH = '/org/gnome/SettingsDaemon/Power'; const UPDeviceType = { UNKNOWN: 0, @@ -41,7 +41,7 @@ const UPDeviceState = { }; const PowerManagerInterface = { - name: 'org.gnome.PowerManager', + name: 'org.gnome.SettingsDaemon.Power', methods: [ { name: 'GetDevices', inSignature: '', outSignature: 'a(susbut)' }, { name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susbut)' },